export default [
    {
        path: '/account',
        redirect: '/account/users'
    },
    {
        path: '/account/users',
        component: () => import('@/views/sys/account/user/index.vue'),
        meta: {
            title: '账号列表'
        }
    },
    {
        path: '/account/roles',
        name: 'roleList',
        component: () => import('@/views/sys/account/role/index.vue'),
        meta: {
            title: '角色权限',
            keepAlive: true
        }
    },
    {
        path: '/account/roles/add',
        component: () => import('@/views/sys/account/role/add/index.vue'),
        meta: {
            title: '新建角色',
            editTitle: '编辑角色'
        }
    }
];
